package com.bjpowernode.boss.common.enums;

public enum ResponseCode {

    OK(1000,"成功"),
    UNKNOWN(1001,"请稍后重试"),

    OPEOATOR_LOGIN_NAME_PWD(2000,"登录名或密码错误"),
    OPEOATOR_LOGIN_NAME_PWD_1(2001,"登录名或密码错误"),
    OPEOATOR_SAVE_TOKEN(2002,"登陆失败，请稍后重试"),

    REQUEST_PARAM_ERR(1002,"请求参数错误"),

    USER_LOGIN_NAME_EXISTS(3000,"商户名称已存在，请更换"),
    USER_NOT_EXISTS(3001,"商户不存在"),

    PAYMENT_PRODUCT_CODE_EXISTS(4000,"支付产品编码已经存在"),
    PAYMENT_PRODUCT_NAME_EXISTS(4001,"支付产品名称已经存在"),


    ;

     ResponseCode(int number, String msg) {
        this.number = number;
        this.msg = msg;
    }

    private int number;

    private String msg;

    public int getNumber() {
        return number;
    }

    public String getMsg() {
        return msg;
    }
}
